package com.jzt.qf.dao;

import com.jzt.qf.beans.qfBean.ZxyUploadbillJzt;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UploadbillJztDao {
    int updateByPrimaryKeySelective(ZxyUploadbillJzt record);

    //TODO  插入数据
    int insertSelective(ZxyUploadbillJzt record);

    //TODO  根据单据类型查询需要上传的单据
    List<ZxyUploadbillJzt> getUploadBillByBilltype(int billType);

    //TODO  根据单据类型查询需要回写的单据
    List<ZxyUploadbillJzt> getBackWriteBillByBilltype(int billType);

    //TODO  获取未处理的运输记录(运输记录)
    List<ZxyUploadbillJzt> getUntreatedSYJL();

    //TODO  获取未处理的出库复核(出库复核)
    List<ZxyUploadbillJzt> getUntreatedCKFH();

    //TODO  逻辑删除数据
    int deleted(ZxyUploadbillJzt uploadbill);

    //TODO 修改上传标识符
    int updateFlags(ZxyUploadbillJzt zxyUploadbillJzt);

    //TODO 修改上传标识符
    int updateFlags2(ZxyUploadbillJzt zxyUploadbillJzt);

    //添加返回值
    int addjzt_result(ZxyUploadbillJzt zxyUploadbillJzt);
}